package com.wogu.jwa.web.admin.classes;

import java.io.IOException;

import com.wogu.jwa.classes.Controller;

public class Member extends Controller {
	
	@Override
	protected void _init() {
		if(null == session.getAttribute("userid")) {
			String loginUrl = config.getProperty("site_root") + "/admin?c=account&a=login";
			try {
				response.sendRedirect(loginUrl);
			} catch(IOException e) {}
		} else {
			initMember();
		}
	}
	
	protected void initMember() {}
}